package com.appcenter.task.model;

import com.appcenter.task.dto.ReceiveUser;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

@NameStyle(Style.normal)
@Table(name="untasks")
@Entity
public class UnTasks {
    @ApiModelProperty("主键")
    @javax.persistence.Id
    private String id;
    @ApiModelProperty("待办标题")
    private String title;
    @ApiModelProperty("待办内容")
    private String content;
    @ApiModelProperty("接收人ID")
    private String receiveUserId;
    @ApiModelProperty("接收人Code")
    private String receiveUserCode;
    @ApiModelProperty("接收人名称")
    private String receiveUserName;
    @ApiModelProperty("发送方AppCode")
    private String sendAppCode;
    @ApiModelProperty("接收方AppCode")
    private String receiveAppCode;
    @ApiModelProperty("PC端地址")
    private String pcUrl;
    @ApiModelProperty("手机端地址")
    private String mobileUrl;
    @ApiModelProperty("业务类型")
    private String businessType;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("创建人ID")
    private String createUserId;
    @ApiModelProperty("创建人Code")
    private String createUserCode;
    @ApiModelProperty("创建人名称")
    private String createUserName;

    @ApiModelProperty(value = "业务ID",example = "",required = false)
    @JsonProperty("docId")
    private String businessId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getReceiveUserId() {
        return receiveUserId;
    }

    public void setReceiveUserId(String receiveUserId) {
        this.receiveUserId = receiveUserId;
    }

    public String getReceiveUserCode() {
        return receiveUserCode;
    }

    public void setReceiveUserCode(String receiveUserCode) {
        this.receiveUserCode = receiveUserCode;
    }

    public String getReceiveUserName() {
        return receiveUserName;
    }

    public void setReceiveUserName(String receiveUserName) {
        this.receiveUserName = receiveUserName;
    }

    public String getSendAppCode() {
        return sendAppCode;
    }

    public void setSendAppCode(String sendAppCode) {
        this.sendAppCode = sendAppCode;
    }

    public String getReceiveAppCode() {
        return receiveAppCode;
    }

    public void setReceiveAppCode(String receiveAppCode) {
        this.receiveAppCode = receiveAppCode;
    }

    public String getPcUrl() {
        return pcUrl;
    }

    public void setPcUrl(String pcUrl) {
        this.pcUrl = pcUrl;
    }

    public String getMobileUrl() {
        return mobileUrl;
    }

    public void setMobileUrl(String mobileUrl) {
        this.mobileUrl = mobileUrl;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserCode() {
        return createUserCode;
    }

    public void setCreateUserCode(String createUserCode) {
        this.createUserCode = createUserCode;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }


    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }
}
